﻿using System;
using UnityEngine;

// Token: 0x0200057C RID: 1404
public class EyeLookController : MonoBehaviour
{
	// Token: 0x060021C4 RID: 8644 RVA: 0x00132354 File Offset: 0x00130554
	public virtual void Start()
	{
		if (!this.target && Camera.main)
		{
			this.target = Camera.main.transform;
		}
	}

	// Token: 0x060021C5 RID: 8645 RVA: 0x00132388 File Offset: 0x00130588
	public virtual void LateUpdate()
	{
		if (this.target != null && null != this.eyeLookScript)
		{
			this.eyeLookScript.EyeUpdateCalc(this.target.position, this.ptnNo);
		}
	}

	// Token: 0x040029F8 RID: 10744
	public global::EyeLookCalc eyeLookScript;

	// Token: 0x040029F9 RID: 10745
	public int ptnNo;

	// Token: 0x040029FA RID: 10746
	public Transform target;
}
